Converts an EntityCollection<(Of <(<'TEntity>)>)> to an editable ICollectionView.
Namespace:
C1.Data.EntitiesAssembly: C1.Data.Entity (in C1.Data.Entity.dll)
Syntax
C# |
---|
public static ICollectionView AsCollectionView<T>( this EntityCollection<T> entities ) where T : class, IEntityWithRelationships |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function AsCollectionView(Of T As {Class, IEntityWithRelationships}) ( _ entities As EntityCollection(Of T) _ ) As ICollectionView |
Parameters
- entities
- Type: System.Data.Objects.DataClasses..::..EntityCollection<(Of <(<'T>)>)>
The EntityCollection<(Of <(<'TEntity>)>)> to convert.
Type Parameters
- T
- The type of the entities in the entities.